package com.yxinsur.imc.business.vo.select;

import com.yxinsur.imc.common.annotation.Excel;
import com.yxinsur.imc.common.core.domain.BaseImcEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 地区对象select Vo
 * 
 * @author imc
 * @date 2021-03-23
 */
@Data
public class SelectRegion
{
    private static final long serialVersionUID = 1L;

    @Excel(name = "唯一ID")
    private String id;

    @Excel(name = "名称")
    private String regionName;

    @Excel(name = "下级地区")
    private List<SelectRegion> children;

    public SelectRegion() {
    }

    public SelectRegion(String id, String regionName) {
        this.id = id;
        this.regionName = regionName;
    }
}
